/**
 * APP二维码
 */
angular.module('inspinia').controller('managerSmsExceptionCtrl',function($scope,$http,$state,$stateParams,i18nService,$document){
	i18nService.setCurrentLang('zh-cn');  //设置语言为中文
	$scope.baseInfo = {};
	//查询
	$scope.selectServiceInfo=function(){
		$http({
            url:"managerSms/queryManagerSmsException",
            method:"post",
            data:$scope.baseInfo
        }).success(function(msg){
        	if(msg.status){
        		$scope.baseInfo = msg.data;
        	}
//            $scope.notice(msg.msg);
        });
	}
	
	$scope.selectServiceInfo();
	
	$scope.submit = function(){
        $http({
            url:"managerSms/managerSmsException",
            method:"post",
            data:$scope.baseInfo
        }).success(function(msg){
            $scope.notice(msg.msg);
        });
    }
	
	$scope.reset = function(){
		$scope.selectServiceInfo();
	}
})